$intValue = Math.NumberFix
("<num>")
Removes the fractional part of a number.
Parameters
<num> Any valid numeric expression.
Return Value
Remarks
- Operates in a similar way to the IntDigit function, except that if num is negative, NumberFix returns the first negative number greater than or equal to num.
- Similar to the Fix function in VB Script.
Example
$ret = Math.NumberFix ("2.345")